//
//  AliOSSObjctManage.h
//  VideoExam
//
//  Created by apple on 2020/4/8.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface AliOSSObjctManage : NSObject
+ (instancetype)sharedInstance;
- (void)uploadVideoWithVideoPath:(NSString *)videoPath urlName:(NSString *)urlName progressBlock:(void(^)(CGFloat progress))progressBlock Success:(void(^)(NSString * videoUrlStr))successBlock error:(void(^)(void))errorBlock;

//+(void)uploadVideoWithVideoPath:(NSString *)videoPath client:(OSSClient *)client progressBlock:(void(^)(CGFloat progress))progressBlock Success:(void(^)(NSString * videoUrlStr))successBlock error:(void(^)(void))errorBlock;
//取消上传
+ (void)cancel_upload;
@end

NS_ASSUME_NONNULL_END
